package com.yuntongxun.ecdemo.rest.interfaces;

import com.yuntongxun.ecdemo.rest.models.LoginSubmit;
import com.yuntongxun.ecdemo.rest.models.UserAccountModel;

import retrofit.Callback;
import retrofit.http.Body;
import retrofit.http.POST;

/**
 * Created by EVE on 2016/4/17.
 */
public interface LoginInterface {
    @POST("/api/login")
    void login(@Body LoginSubmit loginSubmit, Callback<UserAccountModel> callback);
}
